package com.imooc.mail.service;

import com.imooc.mail.vo.CategoryVo;
import com.imooc.mail.vo.ResponseVo;

import java.util.List;
import java.util.Set;

/**
 * @Author wjc
 * Date on 2020/6/6 16:24
 */
public interface ICategoryService {
    /**
     *
     * @return
     */
    ResponseVo<List<CategoryVo>> selectAll();

    /**
     * 查出子类目的所有id
     * @param id
     * @param resultSet
     */
    void findSubCategoryId(Integer id, Set<Integer> resultSet);

}
